package icu.zqyhdm.blog.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import icu.zqyhdm.blog.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Description 评论的实体类
 * @Author lifu
 * @Date 2021/6/22 14:57
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "用户评论")
public class CommentVo implements Serializable{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "评论id")
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer authorId;

    @ApiModelProperty(value = "用户昵称")
    private String nickName;

    @ApiModelProperty(value = "用户头像")
    private String img;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "评论时间")
    private String createTime;

    @ApiModelProperty(value = "回复量")
    private Integer replyCount;

    @ApiModelProperty(value = "点赞量")
    private Integer likeCount;

    @ApiModelProperty(value = "回复列表")
    private List<ReplyVo> replyVoList;
}
